<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>教育支援辅助系统</TITLE>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<LINK href="css/login.css" type=text/css rel=stylesheet>
<STYLE type=text/css>
</STYLE>
<META content="MSHTML 6.00.2900.5848" name=GENERATOR>
</HEAD>
<BODY>
<DIV id=div1>
  <TABLE id=login height="100%" cellSpacing=0 cellPadding=0 width=800 
align=center>
    <TBODY>
      <TR id=main>
        <TD>
        
          <TABLE height="100%" cellSpacing=0 cellPadding=0 width="100%">
            <form action="login" name="login_form" method="post">
            <TBODY>
              <TR>
                <TD colSpan=4><h1><B>CAESAR教育支援辅助系统</B></h1></TD>
              </TR>
              <TR height=30>
                <TD width=380>&nbsp;</TD>
                <TD>&nbsp;</TD>
                <TD>&nbsp;</TD>
                <TD>&nbsp;</TD>
              </TR>
              <TR height=40>
                <TD rowSpan=4>&nbsp;</TD>
                <TD>用户名：</TD>
                <TD>
                  <INPUT class=textbox id="user_id" name="user_id">
                </TD>
                <TD width=120>&nbsp;</TD>
              </TR>
              <TR height=40>
                <TD>密　码：</TD>
                <TD>
                  <INPUT class=textbox id="user_password" type=password 
            name="user_password">
                </TD>
                <TD width=120>&nbsp;</TD>
              </TR>
              <TR height=60>
                <TD></TD>
                <TD align=left>
                  <INPUT id=btnLogin type=submit value=" 登 录 " name=btnLogin>
 <%
	String error = (String)request.getAttribute("error");
    if(error != null && error.equals("login_err"))
    {
    	out.print("<p>用户名或密码错误，请重新输入！<p>");
    }
%>
                </TD>
                <TD width=120>&nbsp;</TD>
              </TR>
              <TR height=110>
                <TD colSpan=4>&nbsp;</TD>
              </TR>
            </TBODY>

            </form>
          </TABLE>
           
        </TD>
      </TR>
      <TR id=root height=104>
        <TD>&nbsp;</TD>
      </TR>
    </TBODY>
  </TABLE>

</DIV>

<DIV id=div2 style="DISPLAY: none"></DIV>
</BODY>
</HTML>
